package com.ruoyi.basedata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 客户对象 t_bd_customer
 * 
 * @author ptt
 * @date 2023-02-15
 */
public class BdCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String customernumber;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customername;

    /** 基本分类编码 */
    @Excel(name = "基本分类编码")
    private String groupnumber;

    /** 基本分类名称 */
    @Excel(name = "基本分类名称")
    private String groupname;

    /** 是否内部客户 */
    @Excel(name = "是否内部客户")
    private Long isinternal;

    /** 内部公司编码 */
    @Excel(name = "内部公司编码")
    private String internalcompanynumber;

    /** 内部公司名称 */
    @Excel(name = "内部公司名称")
    private String internalcompanyname;

    /** 是否成本中心 */
    @Excel(name = "是否成本中心")
    private Long iscostcenter;

    /** 成本中心编码 */
    @Excel(name = "成本中心编码")
    private String costcenternumber;

    /** 成本中心名称 */
    @Excel(name = "成本中心名称")
    private String costcentername;

    /** 销售组织编码 */
    @Excel(name = "销售组织编码")
    private String saleorgnumber;

    /** 销售组织名称 */
    @Excel(name = "销售组织名称")
    private String saleorgname;

    /** 结算组织编码 */
    @Excel(name = "结算组织编码")
    private String settleorgnumber;

    /** 结算组织名称 */
    @Excel(name = "结算组织名称")
    private String settleorgname;

    /** 记账公司编码 */
    @Excel(name = "记账公司编码")
    private String accountcompanynumber;

    /** 记账公司名称 */
    @Excel(name = "记账公司名称")
    private String accountcompanyname;

    /** 中转仓编码 */
    @Excel(name = "中转仓编码")
    private String transferwhnumber;

    /** 中转仓名称 */
    @Excel(name = "中转仓名称")
    private String transferwhname;

    /** 分公司(门店)仓编码 */
    @Excel(name = "分公司(门店)仓编码")
    private String storewhnumber;

    /** 分公司(门店)仓名称 */
    @Excel(name = "分公司(门店)仓名称")
    private String storewhname;

    /** 结算仓编码 */
    @Excel(name = "结算仓编码")
    private String settlewhnumber;

    /** 结算仓名称 */
    @Excel(name = "结算仓名称")
    private String settlewhname;

    /** 凭证类型编码 */
    @Excel(name = "凭证类型编码")
    private String vouchertypenumber;

    /** 凭证类型名称 */
    @Excel(name = "凭证类型名称")
    private String vouchertypename;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createtime;

    /** 最后修改时间 */
    @Excel(name = "最后修改时间")
    private Date updatetime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomernumber(String customernumber) 
    {
        this.customernumber = customernumber;
    }

    public String getCustomernumber() 
    {
        return customernumber;
    }
    public void setCustomername(String customername) 
    {
        this.customername = customername;
    }

    public String getCustomername() 
    {
        return customername;
    }
    public void setGroupnumber(String groupnumber) 
    {
        this.groupnumber = groupnumber;
    }

    public String getGroupnumber() 
    {
        return groupnumber;
    }
    public void setGroupname(String groupname) 
    {
        this.groupname = groupname;
    }

    public String getGroupname() 
    {
        return groupname;
    }
    public void setIsinternal(Long isinternal) 
    {
        this.isinternal = isinternal;
    }

    public Long getIsinternal() 
    {
        return isinternal;
    }
    public void setInternalcompanynumber(String internalcompanynumber) 
    {
        this.internalcompanynumber = internalcompanynumber;
    }

    public String getInternalcompanynumber() 
    {
        return internalcompanynumber;
    }
    public void setInternalcompanyname(String internalcompanyname) 
    {
        this.internalcompanyname = internalcompanyname;
    }

    public String getInternalcompanyname()
    {
        return internalcompanyname;
    }

    public Long getIscostcenter() {
        return iscostcenter;
    }

    public void setIscostcenter(Long iscostcenter) {
        this.iscostcenter = iscostcenter;
    }

    public void setCostcenternumber(String costcenternumber)
    {
        this.costcenternumber = costcenternumber;
    }

    public String getCostcenternumber() 
    {
        return costcenternumber;
    }
    public void setCostcentername(String costcentername) 
    {
        this.costcentername = costcentername;
    }

    public String getCostcentername() 
    {
        return costcentername;
    }
    public void setSaleorgnumber(String saleorgnumber) 
    {
        this.saleorgnumber = saleorgnumber;
    }

    public String getSaleorgnumber() 
    {
        return saleorgnumber;
    }
    public void setSaleorgname(String saleorgname) 
    {
        this.saleorgname = saleorgname;
    }

    public String getSaleorgname() 
    {
        return saleorgname;
    }
    public void setSettleorgnumber(String settleorgnumber) 
    {
        this.settleorgnumber = settleorgnumber;
    }

    public String getSettleorgnumber() 
    {
        return settleorgnumber;
    }
    public void setSettleorgname(String settleorgname) 
    {
        this.settleorgname = settleorgname;
    }

    public String getSettleorgname() 
    {
        return settleorgname;
    }
    public void setAccountcompanynumber(String accountcompanynumber) 
    {
        this.accountcompanynumber = accountcompanynumber;
    }

    public String getAccountcompanynumber() 
    {
        return accountcompanynumber;
    }
    public void setAccountcompanyname(String accountcompanyname) 
    {
        this.accountcompanyname = accountcompanyname;
    }

    public String getAccountcompanyname() 
    {
        return accountcompanyname;
    }
    public void setTransferwhnumber(String transferwhnumber) 
    {
        this.transferwhnumber = transferwhnumber;
    }

    public String getTransferwhnumber() 
    {
        return transferwhnumber;
    }
    public void setTransferwhname(String transferwhname) 
    {
        this.transferwhname = transferwhname;
    }

    public String getTransferwhname() 
    {
        return transferwhname;
    }
    public void setStorewhnumber(String storewhnumber) 
    {
        this.storewhnumber = storewhnumber;
    }

    public String getStorewhnumber() 
    {
        return storewhnumber;
    }
    public void setStorewhname(String storewhname) 
    {
        this.storewhname = storewhname;
    }

    public String getStorewhname() 
    {
        return storewhname;
    }
    public void setSettlewhnumber(String settlewhnumber) 
    {
        this.settlewhnumber = settlewhnumber;
    }

    public String getSettlewhnumber() 
    {
        return settlewhnumber;
    }
    public void setSettlewhname(String settlewhname) 
    {
        this.settlewhname = settlewhname;
    }

    public String getSettlewhname() 
    {
        return settlewhname;
    }
    public void setVouchertypenumber(String vouchertypenumber) 
    {
        this.vouchertypenumber = vouchertypenumber;
    }

    public String getVouchertypenumber() 
    {
        return vouchertypenumber;
    }
    public void setVouchertypename(String vouchertypename) 
    {
        this.vouchertypename = vouchertypename;
    }

    public String getVouchertypename() 
    {
        return vouchertypename;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customernumber", getCustomernumber())
            .append("customername", getCustomername())
            .append("groupnumber", getGroupnumber())
            .append("groupname", getGroupname())
            .append("isinternal", getIsinternal())
            .append("internalcompanynumber", getInternalcompanynumber())
            .append("internalcompanyname", getInternalcompanyname())
            .append("iscostcenter", getIscostcenter())
            .append("costcenternumber", getCostcenternumber())
            .append("costcentername", getCostcentername())
            .append("saleorgnumber", getSaleorgnumber())
            .append("saleorgname", getSaleorgname())
            .append("settleorgnumber", getSettleorgnumber())
            .append("settleorgname", getSettleorgname())
            .append("accountcompanynumber", getAccountcompanynumber())
            .append("accountcompanyname", getAccountcompanyname())
            .append("transferwhnumber", getTransferwhnumber())
            .append("transferwhname", getTransferwhname())
            .append("storewhnumber", getStorewhnumber())
            .append("storewhname", getStorewhname())
            .append("settlewhnumber", getSettlewhnumber())
            .append("settlewhname", getSettlewhname())
            .append("vouchertypenumber", getVouchertypenumber())
            .append("vouchertypename", getVouchertypename())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .toString();
    }
}
